{% extends "base.html" %}

{% block css %}
    <link rel="stylesheet" href="//at.alicdn.com/t/font_694423_zzi7jnys2vh.css">
    <link href="/static/css/app.min.css" rel="stylesheet">
{% endblock %}

{% block content %}
    <div id="root">
        <div class="app-body-main">
            <div class="app-main-box">
                {% include "_app_header.html" with class="manager-header home-header-transparent-white" %}

                <div class="ant-spin-nested-loading">
                    <div class="ant-spin-container">
                        <div class="edit-developer-info">
                            <div class="main-layout">
                                <div class="title">
                                    <div class="title-message">账号信息</div>
                                    <a href="{% url 'management_homepage' %}"><span> 返回</span></a></div>
                                <div class="content">
                                    <div class="developer-info-list">
                                        <div class="ant-row">
                                            <div class="developer-info-list-left">账号类型</div>
                                            <div class="developer-info-list-right">{% if user_reg_type == 0 %}个人开发者{% else %}企业开发者{% endif %}</div>
                                        </div>
                                    </div>
                                    <div class="developer-info-list">
                                        <div class="ant-row">
                                            <div class="developer-info-list-left">平台账号</div>
                                            <div class="developer-info-list-right">{{ username }}</div>
                                        </div>
                                    </div>
                                    <div class="developer-info-list">
                                        <div class="ant-row">
                                            <div class="developer-info-list-left">公司名称</div>
                                            <div class="developer-info-list-right">{{ company.name }}</div>
                                        </div>
                                    </div>
                                    <div class="company-info">
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">公司主页网址</div>
                                                <div class="developer-info-list-right">{{ company.website }}</div>
                                            </div>
                                        </div>
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">公司介绍</div>
                                                <div class="developer-info-list-right">{{ company.desc }}</div>
                                            </div>
                                        </div>
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">公司地址</div>
                                                <div class="developer-info-list-right">{{ company.addr }}</div>
                                            </div>
                                        </div>
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">公司联系人姓名</div>
                                                <div class="developer-info-list-right">{{ company.contact_username }}</div>
                                            </div>
                                        </div>
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">联系人手机号</div>
                                                <div class="developer-info-list-right">{{ company.phone }}</div>
                                            </div>
                                        </div>
                                        <div class="developer-info-list">
                                            <div class="ant-row">
                                                <div class="developer-info-list-left">联系人邮箱</div>
                                                <div class="developer-info-list-right">{{ company.email }}</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
{% endblock %}